package ar.uade.edu.fain.ad.server.dao.entity;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
@DiscriminatorValue("ADMINISTRADOR")
public class AdministradorEntity extends EmpleadoEntity {

	@ManyToOne
	@JoinColumn(name = "idAdministracion")
	private AdministracionEntity administracion;

	public AdministradorEntity() {
		super();
	}

	public AdministracionEntity getAdministracion() {
		return administracion;
	}

	public void setAdministracion(AdministracionEntity administracion) {
		this.administracion = administracion;
	}
}
